projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e0b53a
)
(vc-finish-logentry): Sync the buffer in case the user modified it while
author
Paul Eggert
<eggert@twinsun.com>
Mon, 3 Jan 1994 20:53:26 +0000
(20:53 +0000)
committer
Paul Eggert
<eggert@twinsun.com>
Mon, 3 Jan 1994 20:53:26 +0000
(20:53 +0000)
editing the comment.
lisp/vc.el
patch
|
blob
|
history
diff --git
a/lisp/vc.el
b/lisp/vc.el
index c469c7ca18914f681a1e32cc65421c4aaa8d035e..3439b354b24a838e6be53c6f52e3db0d2845c467 100644
(file)
--- a/
lisp/vc.el
+++ b/
lisp/vc.el
@@
-668,6
+668,10
@@
If nil, uses `change-log-default-name'."
(setq vc-comment-ring (make-ring vc-maximum-comment-ring-size)))
(ring-insert vc-comment-ring (buffer-string))
))
+ ;; Sync parent buffer in case the user modified it while editing the comment.
+ (save-excursion
+ (set-buffer vc-parent-buffer)
+ (vc-buffer-sync))
;; OK, do it to it
(if vc-log-operation
(save-excursion